The SetKeyValue Method is similar to SaveSetting in that it writes a value to the registry. As with its sister function QueryValue it does not use encryption. You may first encrypt the value before using SetKeyValue. You should then ensure that you have decrypted the value after you have retreived it with QueryValue.
Syntax:
Visual Basic:
Reg.SetKeyValue SubKey, SettingName, SettingValue, vType
The Root Key will be whatever RegKey is currently set to.
vType must be set first or use the allowed values: 1 for String and 4 for DWORD.
Data type: String
(c)1998 Silicon Prairie Software Co. All rights reserved.